#include <LitStdAfx.h>
#include "LitGameTask.h"

namespace Lit
{
	GameTask::GameTask( const String& name_, float delay_sec, bool only_once ) : mName( name_ ), mDelay( delay_sec ), mOnce( only_once ), mConsumed( false )
	{}
	GameTask::~GameTask( )
	{}

	const String& GameTask::getName(){ return mName; }
	float GameTask::delay() const{ return mDelay; }
	bool GameTask::isConsumed() const{ return mConsumed; }
	bool GameTask::isTriggerOnce() const{ return mOnce; }
	void GameTask::_setConsumed( bool state ){ mConsumed = state; }

};